home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / bbs / fcfgw40s.zip / SPLASHDL.CPP < prev    next >
C/C++ Source or Header  |  1996-04-20  |  1KB  |  61 lines

  1. // SplashDlg.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "FileCFG.h"
  6. #include "SplashDlg.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CSplashDlg dialog
  16.  
  17.  
  18. CSplashDlg::CSplashDlg(CWnd* pParent /*=NULL*/)
  19.     : CDialog(CSplashDlg::IDD, pParent)
  20. {
  21.     //{{AFX_DATA_INIT(CSplashDlg)
  22.         // NOTE: the ClassWizard will add member initialization here
  23.     //}}AFX_DATA_INIT
  24. }
  25.  
  26.  
  27. void CSplashDlg::DoDataExchange(CDataExchange* pDX)
  28. {
  29.     CDialog::DoDataExchange(pDX);
  30.     //{{AFX_DATA_MAP(CSplashDlg)
  31.         // NOTE: the ClassWizard will add DDX and DDV calls here
  32.     //}}AFX_DATA_MAP
  33. }
  34.  
  35.  
  36. BEGIN_MESSAGE_MAP(CSplashDlg, CDialog)
  37.     //{{AFX_MSG_MAP(CSplashDlg)
  38.     ON_WM_CREATE()
  39.     ON_WM_TIMER()
  40.     ON_WM_CANCELMODE()
  41.     //}}AFX_MSG_MAP
  42. END_MESSAGE_MAP()
  43.  
  44. /////////////////////////////////////////////////////////////////////////////
  45. // CSplashDlg message handlers
  46.  
  47. int CSplashDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) 
  48. {
  49.     SetTimer(1, 3500, NULL);
  50.     return CDialog::OnCreate(lpCreateStruct);
  51. }
  52.  
  53. void CSplashDlg::OnTimer(UINT nIDEvent) 
  54. {
  55.     OnOK();
  56. }
  57.  
  58. void CSplashDlg::OnCancel()
  59. {
  60.     // can't cancel with Escape
  61. }